package com.laolang.shop.modules.sys.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.laolang.shop.modules.sys.entity.SysRole;
import com.laolang.shop.modules.sys.entity.SysUserRole;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author khlbat
 * @version 1.0
 * @date 2020/11/1 20:46
 */
public interface SysUserRoleMapper extends BaseMapper<SysUserRole> {
    List<SysRole> listByUserId(@Param("userId") Long userId);
}
